package com.pcbly.web.bean.workflow;
  
import java.util.Set;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.formattemplate.FormatDocBean;


/** @author Hibernate CodeGenerator */
@SuppressWarnings("unchecked")
public class WorkflowApplicationItemBean extends WorkflowApplicationBean  {

    /**
	 * 
	 */
	private static final long serialVersionUID = -7417817888601428899L;

	
    private Integer status;

    
    private FormatDocBean document;

    
    
	private Set workflowActivities;

    
    private Set attachments; 

    /** default constructor */
    public WorkflowApplicationItemBean() {
    } 

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    } 

    public Set getWorkflowActivities() {
        return this.workflowActivities;
    }

    public void setWorkflowActivities(Set workflowActivities) {
        this.workflowActivities = workflowActivities;
    }

    public Set getAttachments() {
        return this.attachments;
    }

    public void setAttachments(Set attachments) {
        this.attachments = attachments;
    } 
    public FormatDocBean getDocument() {
		return document;
	}

	public void setDocument(FormatDocBean document) {
		this.document = document;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
